package  com.tongji.housediy.events.commonEvent
{
	import com.tongji.housediy.view.components.AbstractBorderChild;
	import com.tongji.housediy.view.components.RoomShape;
	
	import flash.events.Event;
	
	/**
	 * 
	 * @author chenchao
	 * 
	 */	
	public class CursorBitmapEvent extends Event
	{	
		public static const SHOW_CUSTOM_CURSOR:String = "showCustomCursor";
		public static const HIDE_CUSTOM_CURSOR:String = "hideCustomCursor";
		public static const UPDATE_CUSTOM_CURSOR:String = "updateCustomCursor";
		
		public var xPosition:Number;
		public var yPosition:Number;
		public var bitmapType:String;
		
		public function CursorBitmapEvent(type:String, xPosition:Number, yPosition:Number, bitmapType:String = "")
		{
			super(type, true);
			this.xPosition = xPosition;
			this.yPosition = yPosition;
			this.bitmapType = bitmapType;
		}
		
		override public function clone():Event
		{
			return new CursorBitmapEvent(type, xPosition, yPosition, bitmapType);
		}
	}
}